#!/usr/bin/env bash

set -e

SCRIPTPATH=$(dirname "$BASH_SOURCE")
pushd $SCRIPTPATH > /dev/null
rustfmt $@ $(git ls-files '*.rs')
popd > /dev/null
